{
    interface User {
        name: string;
        age: number;
        sex: boolean
    }

    type MyRecord<T extends string | number | symbol, U> = {
        [K in T]: U
    }

    type keys = "A" | "B" | "C"

    type testRecord = MyRecord<keys, User>

}